package com.fastgwt.shared.services;


import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.fastgwt.shared.dto.Employee;


@RemoteServiceRelativePath("springGwtServices/employeeService")
public interface EmployeeService extends RemoteService {

	public Employee findEmployee(long employeeId);
	public void saveEmployee(long employeeId,String name, String surname, String jobDescription) throws Exception;
	public void updateEmployee(long employeeId, String name, String surname, String jobDescription) throws Exception;
	public void saveOrUpdateEmployee(long employeeId, String name, String surname, String jobDescription) throws Exception;
	public void deleteEmployee(long employeeId) throws Exception;
	public Employee saveOrUpdateEmployee(Employee employee) throws Exception;
	public List<Employee> listAll() throws Exception;
	public List<Employee> listAll(String name,String surname,String job) throws Exception;

}